﻿@charset "utf-8";
@import "common/global";
@import "header";
@import "footer";
.product-list {
    width: 100%;    
    background: $bgColor;
    .scroll-view {
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        .scroll-bar {
            min-width: 100%;
            width: 10rem;
            height: 0.83rem;
            background: #ffffff;
            .scroll-item {
                font-size: rem(30px);
                line-height: 0.82rem;
                margin: 0 10px;
                &.active {
                    color: $diyColor;
                    border-bottom: 0.04rem solid $diyColor;
                }
                &.active-grab{
                    color: $diyColor-grab;
                    border-bottom: 0.04rem solid $diyColor-grab;
                }
            }
        }
    }
    .content-view {
       // padding: 0.3rem 0.3rem 0.36rem 0.3rem;      
        .my-list{
            background-color: #f1f1f1;
        }
        .am-list-item img {
                width: 60px;
                height: 60px;                
            }
        .cards-list-view {
            .card-list {
                .data{
                    &:last-child{
                        padding-bottom: 0.3rem;
                    }
                }
                .card {
                    width: 92%;                   
                    border-radius: 0.05rem;
                    background-color: #ffffff;
                    box-shadow: 0px 2px 9.5px 0.5px rgba(0, 0, 0, 0.05);                   
                    margin-bottom: 0.3rem;
                    margin-left: 4%;
                    margin-right: 4%;
                    &:first-child{
                        margin-top: 0.3rem;
                    }  
                    &:last-child{
                        margin-bottom: 0;
                    }
                    .card-img {
                        width: 100%;
                        height: 2.9rem;
                        vertical-align: bottom;
                    }
                    .intro {
                        padding: 0.32rem 0.18rem;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        line-height: 1;                        
                        .desc {
                            margin-top: 0.14rem;
                        }
                        .price {
                            margin-top: 0.24rem;
                            color: $colorPrice;
                        }
                    }
                }
            }
        }
    }
}


//没有数据
.no-data{
    height: 1.6rem;
    width: 100%;
    line-height: 1.6rem;
    color:#999;
    text-align: center;
    background-color: #ffffff !important;
}

//yahoo poc
.yh-logo{
    position: relative;
    height: 0.8rem;
    width: 100%;
    background: #fff;
    text-align: center;
    vertical-align: middle;
    border-bottom:1px solid #eeeeee;
    display: flex;
    justify-content: center;
    align-items: center;    
    img{
        width: 1.5rem;
        height: 0.39rem;
    }
    .listicon{
        position: absolute;
        right:.2rem;
        top:.2rem;
        width: .3rem;
        height: .3rem;
        background: url('../../public/assets/images/listblue.png') no-repeat center center;
        background-size: .3rem .3rem; 
    }
}
 // grab poc  
 #grab-list{
    background: #ffffff;
    .topBg{
        width: 100%;
        height: 3.7rem;
        background: url('../../public/assets/images/grab/topbg.png') no-repeat center center;
        background-size: 100% 100%;   
    }
    .logo{
        height: 0.5rem;
        width: 1.34rem;
        position: absolute;
        top:0.1rem;
        left: 50%;
        transform: translateX(-50%);
        background: url('../../public/assets/images/grab/logo_grab.png') no-repeat center center;
        background-size:1.34rem 0.5rem;
    }
    .list{
        position: absolute;
        top:3rem;        
        left: 0;
        width: 100%;
    }
    .item{
        height: 3.2rem;
        width: 6.3rem;
        background: #fff;
        margin: 0 auto;
        border:1px solid #eeeeee;
        border-radius: 10px;
        padding:0 0.4rem 0.4rem 0.4rem;
        margin-bottom: 0.4rem;        
        .name{
            height:1.2rem;           
            padding-left: 1rem;
            padding-top: 0.2rem;
            padding-bottom: 0.2rem; 
            border-bottom: 1px solid #eeeeee;
            background: url('../../public/assets/images/grab/icon1.png') no-repeat left center;
            background-size: 0.59rem 0.49rem;            
        }
        .text{
            width: 100%;
            padding-top: 0.2rem;
            word-wrap: normal;
            word-break: break-all;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
    
}  
